//
//  ZDImageView.swift
//  1026SwiftSinaWeiBo
//
//  Created by Apple on 15/11/9.
//  Copyright © 2015年 itcast. All rights reserved.
//

import UIKit

class ZDImageView: UIImageView {

    //覆盖父类的transform属性
    override var transform: CGAffineTransform {
    
        didSet {
            
            if transform.a < 0.5 {
            
                transform.a = 0.5
                transform.d = 0.5
            }
        }
    }

}
